/****************************************
*                  
*
*
****************************************/
#include<unistd.h>
#include<fcntl.h>

using namespace std;
int main()
{
    	int fd = dup(STDIN_FILENO,444,5);
	int fdOut = dup2(STDOUT_FILENO, 4);
	if (fd > 0 && fdOut > 0)
	{
	   int num = read(fd,buffer,100);
	   write(fdOut, buffer ,num);
	}
}

